<%@ page language="java" import="java.util.*,com.gdpu.project.vo.*,com.gdpu.project.util.DateUtil1" pageEncoding="UTF-8"%>
<%@ include file="/share/taglib.jsp"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
			
	List<CgTreatise> cgTreatiselist=(List)request.getAttribute("cgTreatiselist");
	int i=0;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>专著列表</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.tabfont01 {	
	font-family: "宋体";
	font-size: 9px;
	color: #555555;
	text-decoration: none;
	text-align: center;
}
.font051 {font-family: "宋体";
	font-size: 12px;
	color: #333333;
	text-decoration: none;
	line-height: 20px;
}
.font201 {font-family: "宋体";
	font-size: 12px;
	color: #FF0000;
	text-decoration: none;
}
.button {
	font-family: "宋体";
	font-size: 14px;
	height: 37px;
}
html { overflow-x: auto; overflow-y: auto; border:0;} 
-->
</style>

<link href="<%=basePath %>admin/achievementManager/css/css.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath %>admin/achievementManager/css/style.css" rel="stylesheet" type="text/css" />
</head>
<SCRIPT language=JavaScript>
function topage(page){
	var form = document.forms[0];
	form.currentpage.value=page;
	form.submit();
}
function change(){
	fom.action ="WritExcel.action";
	fom.submit();
}
</SCRIPT>

<body>
<form name="fom" id="fom" method="post" action="<%=basePath%>advanceSearch.action">
	<input type="hidden" name="currentpage" value="1"/>
	<input type="hidden" name="college" value="<s:property value="college"/>"/>
	<input type="hidden" name="postion" value="<s:property value="postion"/>"/>
	<input type="hidden" name="department" value="<s:property value="department"/>"/>

	<input type="hidden" name="education" value="<s:property value="education"/>"/>
	<input type="hidden" name="teacherId" value="<s:property value="teacherId"/>"/>
	<input type="hidden" name="achievementType" value="<s:property value="achievementType"/>"/>
	<input type="hidden" name="startTime" value="<s:property value="startTime"/>"/>
	<input type="hidden" name="endTime" value="<s:property value="endTime"/>"/>
	<input type="hidden" name="cataloge" value="<s:property value="cataloge"/>"/>
	
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table id="subtree1" style="DISPLAY: " width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
          	  <tr> <td><input name="test" type="button" value="导出报表" onclick="change()"/></td></tr>
              <tr>
                <td height="40" class="font42">
				<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#464646" class="newfont03">
				 <tr class="CTitle" >
                    	<td height="22" colspan="12" align="center" style="font-size:16px">专著列表</td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
				    <td width="3%" align="center" height="30">序号</td>
                    <td width="7%" align="center">姓名</td>
                    <td width="10%" align="center">主编/副主编/编委/编写</td>
					<td width="10%" align="center">专著/教材名称</td>
                    <td width="10%" align="center">出版社名</td>
                    <td width="5%" align="center">出版社层次</td>
                    <td width="5%" align="center">出版时间</td>
                    <td width="5%" align="center">本年度科研分值</td>
                    <td width="10%" align="center">科研分酬金(每分折算4.6元,单位:元)</td>
                    <td width="5%" align="center">奖励酬金(元)</td>
                    <td width="10%" align="center">备注</td>
					<td width="15%" align="center">操作</td>
                  </tr>
                  <%if(cgTreatiselist!=null&&cgTreatiselist.size()>0){ 
	                   for(CgTreatise cgTreatise:cgTreatiselist){
	                      i++;
                  %>
                  <tr bgcolor="#EEEEEE">
				    <td align="center" height="20"><%=i %></td>
				    <td align="center"><%=cgTreatise.getTeacherName()!=null?cgTreatise.getTeacherName():"" %></td>
				    <td align="center"><%=cgTreatise.getEditorRole()!=null?cgTreatise.getEditorRole():"" %></td>
                    <td align="center"><%=cgTreatise.getTreatiseTitle()!=null?cgTreatise.getTreatiseTitle():"" %></td>
					<td align="center"><%=cgTreatise.getPublishDw()!=null?cgTreatise.getPublishDw():"" %></td>
					<td align="center"><%=cgTreatise.getPressLevel()!=null?cgTreatise.getPressLevel():"" %></td>
                    <td align="center"><%=cgTreatise.getPublishDate()!=null?DateUtil1.dateToString(cgTreatise.getPublishDate()):"" %></td>
					<td align="center"><%=cgTreatise.getKeYanFen()%></td>
					<td align="center"><%=cgTreatise.getKeYanFenReword()%></td>
					<td align="center"><%=cgTreatise.getReword()%></td>
					<td align="center"><%=cgTreatise.getComment()!=null?cgTreatise.getComment():"" %></td>

					<td align="center">
                     <a href="findWritingsById.action?id=<%=cgTreatise.getId() %>">编辑|</a>
				    <a href="delWritingsById.action?id=<%=cgTreatise.getId()%>" onclick="if(confirm('你真的要删除吗？')==false)  return false;return true;">删除</a></td>
                  </tr>
                  <%   }%>
	                  <tr  class="CTitle">
	                  <td colspan="12"  style="font-size: 14px;text-align: right">
	  				<%@ include file="/share/paging.jsp" %>
	 				</td>
 				</tr>
                <%}else{ %>
                  <tr bgcolor="#FFFFFF">
				    <td height="20" align="center" colspan="12">暂时没有数据...</td>
                  </tr>
                  <%} %>
            </table></td>
        </tr>
      </table>
      <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="6"><img src="../images/spacer.gif" width="1" height="1" /></td>
        </tr>
        <tr>
          <td height="33"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="right-font08">
          </table></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>
